package com.example.community.service;


import com.example.community.dao.pojo.LoginTicket;
import org.apache.ibatis.annotations.Update;

import java.util.Map;

public interface LoginTicketService {

//    int insertLoginTicket(LoginTicket loginTicket);

    LoginTicket findLoginTicket(String ticket);


    void logout(String ticket);

    Map<String,Object> login(String username,String password, int expiredSeconds);
}
